package com.depth.viewer.request.webservice
{
	import com.depth.viewer.request.IRequestProxy;
	import com.depth.viewer.request.SynchronizationRquestBaseProxy;
	
	public class SynchronizationWebServiceReuqest extends SynchronizationRquestBaseProxy
	{
		public function SynchronizationWebServiceReuqest(url:String = null)
		{
			super(url);
		}
		override public function  sRequest(methodName:String,... args:Array):Object{
			var _result:Object;
			var _service:IRequestProxy = new WebServiceReuqest(_url);
			_service.resultHandle = function(res:Object):void{
				_result = res;
			}
			_service.request(methodName,args);
			for(var i=0;i<100000000;i++){
				trace("等待请求响应.........");
			}
			return _result;
		}
	}
}